package com.android.systemui.ios;

public interface IGuardService {

    void setDisturbEnable(boolean enable);

    int getBrightnessAutomatic();

    void setBrightnessAutomatic(boolean enable);

    void setBrightnessValue(int value);

    void setBrightnessAdj(float value);

    void setAirplaneMode(boolean enable);

    void setDataConnectedEnable(int type);

    void setGpsEnable(boolean enable);

    boolean isBluetoothEnabled();

    void setBluetoothEnabled(boolean enable);

    boolean isHotspotEnabled();

    void setHotspotEnabled(boolean enable);

    boolean isWifiEnabled();

    void setWifiEnabled(boolean enable);

    boolean isTorchEnabled();

    void setTorchEnabled(boolean enable);

    void setAudioSilentEnable(boolean enable);

    void setAudioVibrateEnable(boolean enable);

    int getRingerMode();

    void setRingerMode(int mode);

    void setStreamVolume(int stream, int volume);

    int getStreamVolume(int stream);

    int getStreamMinVolume(int stream);

    int getStreamMaxVolume(int stream);

    int getBrightnessMin();

    int getBrightnessMax();

    int getBrightnessCurrent();

    float getBrightnessAdj();

    int getScreenRecord();

    void setScreenRecording(boolean start);

    boolean isRotationLocked();

    void setRotationLocked(boolean enable);

    void postRefresh();

    void sysReboot(String reason);

    void sysShutdown();

    void sysRestore(boolean b1, boolean b2);

    void sysUpgrade(boolean verify, String file);

    String getProperties(String key, String def);

    void setProperties(String key, String value);

    void setGlobalSettings(String key, String value);

    void setSystemSettings(String key, String value);

    void sendKeyEvent(int keyCode, int flags);

    void setNightMode(int mode);

    int getNightMode();

    int execShell(String cmd);

    void userActivity();

    void setNavVisible(int vis);

    int openCamera();

    int openEmergencyCall();

    boolean isLocked();

    int requestLock(int flag);

    int requestVerify(String str);

    int requestFaceRecognition();

    void performNotificationEvent(int action, String pkg, String key);

    void registerStatusChangedCallback(ISystemGuardChangedCallback callback);

    void unregisterStatusChangedCallback(ISystemGuardChangedCallback callback);

    void registerWindowChangedCallback(IStatusBarWindowChangedCallback callback);

    void unregisterWindowChangedCallback(IStatusBarWindowChangedCallback callback);
}
